package com.pdstudio.carrecom.ui.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import com.pdstudio.carrecom.common.BaseFragment;
import com.pdstudio.carrecom.ui.activity.ActivitySelectBrands;
import com.pdstudio.carrecom.R;

/*
 * 第二种主界面风格*/
public class FragmentMain3 extends BaseFragment implements OnClickListener {

	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		_view = inflater.inflate(R.layout.fragment_main3, container,false);
		_context = getActivity();
		initialView();
		return _view;
	}
	
	private void initialView(){
		Intent intent=new Intent(_context,ActivitySelectBrands.class);
		startActivity(intent);
		
    }
	
	private void initData() {
         
    }
	
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		//Toast.makeText(_context.getApplicationContext(), v.getId()+"--"+v.toString(), 3000);
	}

}
